/* Hello program */
#include <stdbool.h>
#include<stdio.h>
#include <string.h> 
#include <stdlib.h> 


bool hello_valid = false;

int validate_hello(char license[]) {
	bool result = true;
	
	int count = 0;
	int i;
	for(i = 0 ; i<strlen(license); i++) {
		if(!isalpha(license[i])) {
		 result = result && false;
		} else if(!islower(license[i])) {
		 result = result && false;
		} else {
		count = count + license[i];
		}
	
	}
	
	result = result && (count > 500) && (count <1000);
	hello_valid = result;

}

void hello()
{
	if(!hello_valid) return;
	printf("Hello");
}